package com.sjy.ylxt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sjy.ylxt.entity.basic.ResultBody;
import com.sjy.ylxt.entity.domain.YlxtAppointments;
import com.sjy.ylxt.entity.dto.AddAppointmentDTO;
import com.sjy.ylxt.entity.dto.FeedbackAppointmentDTO;
import com.sjy.ylxt.entity.dto.QueryAppointmentsDTO;

/**
* @Author: lils
* @CreateTime: 2024-12-12
* @Description: ${description}
*/
public interface YlxtAppointmentsService extends IService<YlxtAppointments> {

    int deleteByPrimaryKey(Integer id);

    int insert(YlxtAppointments record);

    int insertSelective(YlxtAppointments record);

    YlxtAppointments selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(YlxtAppointments record);

    int updateByPrimaryKey(YlxtAppointments record);

    ResultBody<?> pageList(QueryAppointmentsDTO dto);

    ResultBody<?> addAppointments(AddAppointmentDTO dto);

    ResultBody<?> complaints(String id, String complaintContent);

    ResultBody<?> cancelAppointments(String id);

    ResultBody<?> feedback(FeedbackAppointmentDTO dto);
}
